﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DVSProject.Models.ComplainModels>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    ComplainForm
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        การประเมินการบริการ</h2>
    <%using (Html.BeginForm())
      {%>
    <div class="CSSTableGenerator">
        <table>
            <tr>
                <th>
                    รายการ
                </th>
                <th>
                    1 คะแนน
                </th>
                <th>
                    2 คะแนน
                </th>
                <th>
                    3 คะแนน
                </th>
                <th>
                    4 คะแนน
                </th>
 
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        <label>
                            การตรงต่อเวลาในการส่งมอบบริการและนัดหมาย</label>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%--  <%= Html.RadioButtonFor(model => model.Punctual, "1",Model.Punctual==1 ? new { Checked = "checked" }:null)%>--%>
                        <%= Html.RadioButtonFor(model => model.Punctual,1, new { Checked = "checked" })%>
                        <%=Html.HiddenFor(model => model.LocationSetCode)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Punctual,2, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Punctual,3, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Punctual,4, null)%>
                    </div>
                </td>
 
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        <label>
                            คุณภาพของการให้บริการ</label>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%--  <%= Html.RadioButtonFor(model => model.Punctual, "1",Model.Punctual==1 ? new { Checked = "checked" }:null)%>--%>
                        <%= Html.RadioButtonFor(model => model.Service,1, new { Checked = "checked" })%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Service, 2, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Service, 3, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Service, 4, null)%>
                    </div>
                </td>
 
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        <label>
                            การให้ความร่วมมือในการแก้ปัญหา</label>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%--  <%= Html.RadioButtonFor(model => model.Punctual, "1",Model.Punctual==1 ? new { Checked = "checked" }:null)%>--%>
                        <%= Html.RadioButtonFor(model => model.Cooperation,1, new { Checked = "checked" })%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Cooperation, 2, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Cooperation, 3, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Cooperation, 4, null)%>
                    </div>
                </td>
 
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        <label>
                            การแต่งกายบุคลิกภาพและมนุษย์สัมพันธ์ของเจ้าหน้าที่</label>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%--  <%= Html.RadioButtonFor(model => model.Punctual, "1",Model.Punctual==1 ? new { Checked = "checked" }:null)%>--%>
                        <%= Html.RadioButtonFor(model => model.Relation,1, new { Checked = "checked" })%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Relation, 2, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Relation, 3, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Relation, 4, null)%>
                    </div>
                </td>
  
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        <label>
                            ผลงานที่ปรากฏหลังการดำเนินการ</label>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%--  <%= Html.RadioButtonFor(model => model.Punctual, "1",Model.Punctual==1 ? new { Checked = "checked" }:null)%>--%>
                        <%= Html.RadioButtonFor(model => model.Result,1, new { Checked = "checked" })%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Result, 2, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Result, 3, null)%>
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        <%= Html.RadioButtonFor(model => model.Result, 4, null)%>
                    </div>
                </td>
 
            </tr>
        </table>
    </div>
    <p>
        <input type="submit" class="buttonSummit" value="Next" />
    </p>
    <%} %>
</asp:Content>
